﻿using Prism.Ioc;
using Prism.Modularity;

using WPF.NoteBook.ViewModels;
using WPF.NoteBook.Views;

namespace WPF.NoteBook
{
    /// <summary>
    /// 记事本模块
    /// </summary>
    public class NoteBookModule : IModule
    {
        public void OnInitialized(IContainerProvider containerProvider)
        {
            
        }

        public void RegisterTypes(IContainerRegistry services)
        {
            services.RegisterForNavigation<NotebookView,NoteBookViewModel>();
            services.RegisterDialog<CreateNoteBookView, CreateNoteBookViewModel>();
        }
    }
}
